﻿using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour {
	
	//Transform that using to mark position of gun
	public Transform gunTransfrom;
	
	//Muzzles of gun
	public GameObject muzzleFlash;
	
	//Speedline of ship's engines
	public GameObject centerSpeedLine;
	public GameObject sideSpeedLine;
	
	//Shield
	public GameObject energyShield;
	
	//Bullet
	public GameObject bulletPrefab;
	public Texture bulletTexture;
	
	//Spaceship textures
	public Texture bodyTexture;
	public Texture damageTexture;
	
	//FXs
	public GameObject explosionPrefab;
	
	//Player's default status
	public const int DEFAULT_HEALTH_POINT = 100;
	public const int DEFAULT_ENERGY_POINT = 10;
	public const int DEFAULT_LIFE_POINT = 3;
	
	//Player status
	public int healthPoint = DEFAULT_HEALTH_POINT;
	public int energyPoint = DEFAULT_ENERGY_POINT;
	public int lifePoint = DEFAULT_LIFE_POINT;
	public int playerLevel;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {

	}
	
	void Dead () {
		
	}
}
